<!doctype html>
<html lang="en">
	<head>
		<title>JavaScript Patterns</title>
		<meta charset="utf-8">
	</head>
	<body>
		<script>
			/* Title: Module Pattern - cross-file private Augmentation
			 */
			
			var MODULE = (function (my) {
				var _private = my._private = my._private || {},
					_seal = my._seal = my._seal || function () {
						delete my._private;
						delete my._seal;
						delete my._unseal;
					},
					_unseal = my._unseal = my._unseal || function () {
						my._private = _private;
						my._seal = _seal;
						my._unseal = _unseal;
					};

				// permanent access to _private, _seal, and _unseal

				return my;
			}(MODULE || {}));

			
			// Reference
			// http://www.adequatelygood.com/JavaScript-Module-Pattern-In-Depth.html
			
		</script>
</html>